package org.springblade.common.enums;

import org.springblade.core.tool.api.IResultCode;

public enum TrainingResultCode implements IResultCode {
	SERVICE_FAILURE(201, "业务校验失败"),
	;

	final int code;
	final String message;

	public int getCode() {
		return this.code;
	}

	public String getMessage() {
		return this.message;
	}

	private TrainingResultCode(final int code, final String message) {
		this.code = code;
		this.message = message;
	}
}
